package com.hnas.ecard.orm;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnas.core.orm.BaseEntity;

@Entity
@Table(name = "tbl_ecard_channel_info")
public class ECardChannelInfo extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6942682503441384383L;
	
	@Id @GeneratedValue(strategy=IDENTITY) 
	@Column(name = "id",nullable=false)
	private String id;//渠道主键id
	@Column(name = "channel_code",length=20,unique=true)
	private String channelCode;//渠道编码
	@Column(name = "channel_name",length=100)
	private String channelName;//渠道名称
	@Column(name = "qrcode_str")
	private String qrcodeStr;//生成渠道扫描二维码的字符串
	@Column(name = "remark",length=200)
	private String remark;//备注
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getChannelCode() {
		return channelCode;
	}
	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}
	public String getChannelName() {
		return channelName;
	}
	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getQrcodeStr() {
		return qrcodeStr;
	}
	public void setQrcodeStr(String qrcodeStr) {
		this.qrcodeStr = qrcodeStr;
	}
	
}
